<?php
class Project extends CI_Model {
    
     function __construct(){
        // Call the Model constructor
        parent::__construct();
    }
    
    public function getList(){        
        $query = $this->db->get('projects', 50);
        return $query->result();
    }
}
?>